﻿using System;

namespace SindelsStarship
{
    class Shots
    {
        int posX;

        public int PosX
        {
            get { return posX; }
            set { posX = value; }
        }
        int posY;

        public int PosY
        {
            get { return posY; }
            set { posY = value; }
        }
        char symbol = '*';

        public char Symbol
        {
            get { return symbol; }
            set { symbol = value; }
        }
        ConsoleColor color;

        public ConsoleColor Color
        {
            get { return color; }
            set { color = value; }
        }

        bool isPosInPlayField;

        public bool IsPosInPlayField
        {
            get { return isPosInPlayField; }
            set { isPosInPlayField = value; }
        }




        public Shots(int posX, int posY, ConsoleColor color = ConsoleColor.White)
        {
            this.posX = posX;
            this.posY = posY;
            this.color = color;
            this.IsPosInPlayField = true;
        }
    }
}
